In [1]:
import plotly.offline as pyo

from plotly.graph_objs import *

import chart_studio.plotly as py

import pandas as pd
from pandas import DataFrame
In [11]:
from plotly import tools
In [12]:
pyo.offline.init_notebook_mode()
In [14]:
testFig = tools.make_subplots(rows = 2, cols = 2, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid:
[ (1,1) x,y   ]  [ (1,2) x2,y2 ]
[ (2,1) x3,y3 ]  [ (2,2) x4,y4 ]

In [15]:
testFig = make_subplots(rows = 2, cols = 2, horizontal_spacing = 0, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid:
[ (1,1) x,y   ]  [ (1,2) x2,y2 ]
[ (2,1) x3,y3 ]  [ (2,2) x4,y4 ]

In [16]:
testFig = make_subplots(rows = 2, cols = 2, horizontal_spacing = 0.95,  print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid:
[ (1,1) x,y   ]  [ (1,2) x2,y2 ]
[ (2,1) x3,y3 ]  [ (2,2) x4,y4 ]

In [17]:
testFig = make_subplots(rows = 2, cols = 2, horizontal_spacing = 0.2, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid:
[ (1,1) x,y   ]  [ (1,2) x2,y2 ]
[ (2,1) x3,y3 ]  [ (2,2) x4,y4 ]

In [18]:
testFig = make_subplots(rows = 2, cols = 2, vertical_spacing = 0, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid:
[ (1,1) x,y   ]  [ (1,2) x2,y2 ]
[ (2,1) x3,y3 ]  [ (2,2) x4,y4 ]

In [19]:
testFig = make_subplots(rows = 2, cols = 2, vertical_spacing = 0.95, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid:
[ (1,1) x,y   ]  [ (1,2) x2,y2 ]
[ (2,1) x3,y3 ]  [ (2,2) x4,y4 ]

In [ ]: